<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="app">
			<!-- v-html如果是普通文本与v-text一样，但如果是标签则会解析出来 -->
			<p v-html="content"></p>
			<p v-text="content"></p>
		</div>
		<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
		<script>
			var app = new Vue({
				el:'#app',
				data:{
					content:"<a href='https://www.baidu.com/?tn=18029102_3_dg'>hello</a>"
				}
			})
		</script>
	</body>
</html>
